home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
dskut
/
xdcpy200.zip
/
XDSKCPY.DOC
< prev
next >
Wrap
Text File
|
1993-09-15
|
5KB
|
149 lines
XDSKCPY.EXE (eXtended DiSKCoPY) [v1.0: 27/6/1992]
=========== ===================
Copies entire diskettes in one drive, eventually using Extended
Memory (XMS) and harddisk space for buffering to avoid diskswapping.
This program is FreeWare: It might be distributed and used freely.
There exists no warranty, and the author shall not be liable for any
loss or damage due to using this program.
Written in C/assembly using Borland's nice compilers by
Sverre H. Huseby
Bjoelsengt. 17
N-0468 Oslo
Norway
Phone: +47 22 23 05 39
Internet: sverrehu@ifi.uio.no
I you like the program, please do me a small favour: Mail me and
tell me about it. That's worth more than a few bucks!
Introduction
------------
The DOS-program DISKCOPY can only use `conventional' memory, that is
memory below the infamous 640 kb barrier. This results in tedious
diskswapping when copying diskettes other than 360 kb in one drive.
It also results in having to read the source diskette once for each
copy when making several duplicates of one disk.
XDSKCPY fixes this by reading in the _entire_ source diskette before
writing it to one or more destination disks. If Extended Memory is
available (through XMS), the program enters as much as will fit
here, and eventually stores the rest in a temporary file.
Usage
-----
Options to XDSKCPY start with a '-' or a '/'. Note that the options
are case sensitive. The command line syntax is:
XDSKCPY [options] drive
Options can be zero or more of the following:
-b Beep when it is time to insert a new diskette, and when the
copying is finished.
-f Format the destination diskettes. XDSKCPY will also format
diskettes when it can't get information about the type,
assuming the diskette is unformatted.
-n Number of copies. This should be immediately followed by a
number, eg: -n2 for two copies. Default is 1 copy.
-p Prompt for another diskette to copy when finished. This is
on by default.
-t Specify directory for the temporary file. This is only used
if there is not enough memory to hold the entire diskette
contents. The directory name should immediately follow the
t, as in -tc:\tmp.
If no temporary directory is given, the program looks for
environment variables TEMP and TMP (in that order). If none
of these exists, the temporary file is opened in C:\
-v Verify the diskette. As default, verifying is done if DOS'
VERIFY is on. Enter -v- to override this to off.
Starting the program with no arguments will bring up a short help.
Note that this program accepts one drive parameter only.
The environment variable XDSKCPYCMD
-----------------------------------
Before the command line options are interpreted, XDSKCPY looks for
an environment variable named XDSKCPYCMD. This might contain
frequently used options. If you for instance always want the beep,
and never want to be asked for a new diskette, enter the following
line in your AUTOEXEC.BAT:
SET XDSKCPYCMD=-b -p-
Any sequence of legal options may be given, and they can all be
overridden on the command line.
Handling errors
---------------
If an error occurs during read, format, write or verify, the program
will ask you what action to take.
When reading the source diskette, the action can be one of the
following:
Abort Exit the program.
Reread Try to reread the track where the error occured.
Skip Skip the bad track, and write a zero-filled
track to the destination diskette.
When an error occurs on the destination diskette, the following
options are given:
Abort Exit the program.
Rewrite track Try to write the track once more.
rewrite Disk Copy to another diskette. This will ask you to
insert a new diskette.
Skip Skip the bad track.
Choose your action by pressing the capitalized letter. Note that
both Skip-options will give you a copy that does not fully match the
original.
Finally
-------
If you decide to use this program, thanks! I would be happy hearing
from you if you find any bugs, have any suggestions, or just to know
that one more person uses my program.
Sverre.